package com.troll.wanandroid.adapter

import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter

/**
 *
 * @Author:   TangPeng
 * @Time:     5/31/21
 * @Remark:
 */
class TestAdapter(activity: FragmentActivity, val list: MutableList<String>) :
    FragmentStateAdapter(activity) {
    override fun getItemCount(): Int = list.size

    override fun createFragment(position: Int): Fragment {
        TODO("Not yet implemented")
    }
}